<!--
//全写
$(document).ready(function(){

});
//简写
$().ready(function(){

});
//最简单的写法
$(function(){

});
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JQuery测试</title>
<style type="text/css">
/*table中偶数行*/ 

.tabEven {
background: #ff0000;
}
/*table中奇数行*/ 

.tabOdd {
background: #00ff00;
}
</style>
<script language="javascript" src="jquery.js"></script>
<script language = "JavaScript" type="text/javascript">
$(document).ready(function(){
	$("input").hover(function(){
		$(this).addClass("tabEven");
	},function(){$(this).removeClass("tabEven");}
	)
});
</script>
</head>
<body>
  <input type="text" name="textfield" id="textfield" class="" />
  <br />
  <input type="text" name="textfield2" id="textfield2" />
  <br />
  <input type="text" name="textfield3" id="textfield3" />
  <br />
  <input type="text" name="textfield4" id="textfield4" />
<table id="tabTest">
<tbody>
<tr>
<td width="136">快购利众网_1</td>
<td width="120">1</td>
</tr>
<tr>
<td>快购利众网_2</td>
<td>1</td>
</tr>
<tr>
<td>快购利众网_3</td>
<td>1</td>
</tr>
<tr>
<td>快购利众网_4</td>
<td>1</td>
</tr>
<tr>
<td>快购利众网_5</td>
<td>1</td>
</tr>
</tbody>
</table>
</body>
</thml>



